package com.bluemoon.bmwalk.common.jacoco.dto;
import java.util.ArrayList;
import java.util.List;

import lombok.Data;

/**
 * 方法
 * @author: liaozhioyng
 * @create: 2024-01-03
 */
@Data
public class Method {

    private String name;

    private String desc;

    private final List<Counter> methodCounters = new ArrayList<>();

    private Coverage methodCoverage;

    public void addCounter(Counter counter) {
        methodCounters.add(counter);
    }

}
